package com.jprocms.module.cms.controller.admin.comment.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.time.LocalDateTime;

@Schema(description = "管理后台 - 内容评论新增/修改 Request VO")
@Data
public class CommentSaveReqVO {

    @Schema(description = "ID", example = "4236")
    private Long id;

    @Schema(description = "评论内容", requiredMode = Schema.RequiredMode.REQUIRED)
    private String text;

    @Schema(description = "评论人IP", requiredMode = Schema.RequiredMode.REQUIRED)
    private String createUserIp;

    @Schema(description = "评论人城市")
    private String userCity;

    @Schema(description = "内容id", requiredMode = Schema.RequiredMode.REQUIRED, example = "20295")
    private Long contentId;

    @Schema(description = "站点ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "10493")
    private Long siteId;

    @Schema(description = "审核状态 0待审核 1通过 2不通过", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    private Integer status;

    @Schema(description = "回复内容")
    private String replyText;

    @Schema(description = "回复时间")
    private LocalDateTime replyTime;

    @Schema(description = "回复管理员用户id", example = "29504")
    private Long replyUserId;

    @Schema(description = "创建人ID", example = "4216")
    private Long userId;

}